const proxy = require('http-proxy-middleware');

module.exports = function (app) {
    app.use(proxy('/api_uf', {
        target: 'http://0.0.0.0:8084/uf/',
        secure: false,
        changeOrigin: true,
        pathRewrite: {
            "^/api_uf": "/"
        }
    }))
};